<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我们的宿舍 - 联系我们</title>
    <style> body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
        background-color: #c0c0f1;
    }
    header {
        background-color: #333;
        color: white;
        padding: 20px;
        text-align: center;
    }
    nav {
        display: flex;
        justify-content: center;
        background-color: #444;
        padding: 10px;
    }
    nav a {
        color: white;
        text-decoration: none;
        margin: 0 15px;
        font-weight: bold;
    }
    nav a:hover {
        color: #28a745;
    }
    .container {
        max-width: 1200px;
        margin: 20px auto;
        padding: 20px;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    footer {
        text-align: center;
        padding: 20px;
        background-color: #333;
        color: white;
        margin-top: 20px;
    }
        /* 样式与首页相同 */
        form {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        input, textarea {
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
        button {
            padding: 10px;
            background-color: #28a745;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        button:hover {
            background-color: #218838;
        }
    </style>
</head>
<body>
    <header>
        <h1>联系我们</h1>
    </header>
    <nav>
        <a href="/">首页</a>
<a href="/roommates">舍友介绍</a>
<a href="/activities">宿舍活动</a>
<a href="/gallery">照片墙</a>
<a href="/contact">联系我们</a>
    </nav>
    <div class="container">
        <form>
            <input type="text" placeholder="你的名字" required>
            <input type="email" placeholder="你的邮箱" required>
            <textarea rows="5" placeholder="你的留言" required></textarea>
            <button type="submit">发送</button>
        </form>
    </div>
    <footer>
        <p>&copy; 5719我们的宿舍。</p>
    </footer>
</body>
</html>